package com.xxx.admin;

import java.time.LocalDateTime;

public class Orders {
    private Integer id;
    private String OrdersStatus;
    private String user;
    private LocalDateTime CheckoutTime;
    private Integer PaymentMethods;
    private double money;
    private String remark;
    private String phone;
    private String address;
    private String UserName;

    public Orders() {
    }

    public Orders(Integer id, String ordersStatus, String user, LocalDateTime checkoutTime, Integer paymentMethods, double money, String remark, String phone, String address, String userName) {
        this.id = id;
        OrdersStatus = ordersStatus;
        this.user = user;
        CheckoutTime = checkoutTime;
        PaymentMethods = paymentMethods;
        this.money = money;
        this.remark = remark;
        this.phone = phone;
        this.address = address;
        UserName = userName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrdersStatus() {
        return OrdersStatus;
    }

    public void setOrdersStatus(String ordersStatus) {
        OrdersStatus = ordersStatus;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public LocalDateTime getCheckoutTime() {
        return CheckoutTime;
    }

    public void setCheckoutTime(LocalDateTime checkoutTime) {
        CheckoutTime = checkoutTime;
    }

    public Integer getPaymentMethods() {
        return PaymentMethods;
    }

    public void setPaymentMethods(Integer paymentMethods) {
        PaymentMethods = paymentMethods;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "id=" + id +
                ", OrdersStatus='" + OrdersStatus + '\'' +
                ", user='" + user + '\'' +
                ", CheckoutTime=" + CheckoutTime +
                ", PaymentMethods=" + PaymentMethods +
                ", money=" + money +
                ", remark='" + remark + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", UserName='" + UserName + '\'' +
                '}';
    }
}
